<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表格标签</title>
</head>
<body>
<table border="1px" style="border-collapse: collapse; ">
    <caption>授课表</caption>
    <tr>
        <th><span style="color: aqua;">姓名</span></th>
        <th><span style="color:rebeccapurple;">授课内容</span></th>
        <th><span style="color:lawngreen;">序号</span></th>
    </tr>
<!--第一行数据-->
    <tr>
        <td>超哥</td>
        <td>java</td>
        <td>1</td>
    </tr>
<!--第二行数据-->
    <tr>
        <td>小傻</td>
        <td>homony</td>
        <td>2</td>
    </tr>
<!--第三行数据-->
    <tr>
        <td>小宝</td>
        <td>python</td>
        <td>3</td>
    </tr>
</table>
<hr>
<table border="1px" style="border-collapse: collapse; ">
<!--    第一行-->
    <tr>
        <td>1-1</td>
        <td>1-2</td>
        <td>1-3</td>
        <td>1-4</td>
    </tr>
<!--    第二行-->
    <tr>
        <td>2-1</td>
        <td colspan="2">2-2</td>
<!--     <td>2-3</td>-->
        <td rowspan="3">2-4</td>
    </tr>
<!--    第三行-->
    <tr>
        <td>3-1</td>
        <td>3-2</td>
        <td>3-3</td>
<!--        <td>3-4</td>-->
    </tr>
<!--    第四行-->
    <tr>
        <td>4-1</td>
        <td>4-2</td>
        <td>4-3</td>
<!--        <td>4-4</td>-->
    </tr>

</table>
<hr>
<table border="1px" style="border-collapse: collapse;">
    <captin>购物车</captin>
    <tr>
        <th>商品编号</th>
        <th>商品名称</th>
        <th>商品价格</th>
    </tr>
    <tr>
        <td>1</td>
        <td>华为手机</td>
        <td>1999</td>
    </tr>
    <tr>
        <td>2</td>
        <td>荣耀手机，怎么折都有面</td>
        <td>1998</td>
    </tr>
    <tr>
        <td>总价</td>
        <td colspan="2">3000</td>
    </tr>
</table>
</body>
</html>